<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>vue</title>
    </head>
<body>
<div id="app">
<!--    <input v-model="username" type="text">-->
<!--    {{username}}-->
    <a v-bind:href="url">点我跳转</a>
    <input v-model="url" type="text">

</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>
<script>
    var app=new Vue({
        el:"#app",
        data(){
            return{
                username:"",
                url:""
            }
        }

    });

</script>
</body>
</html>